package com.reform.pojo.project;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SimplifyProject implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "项目编号编号")
    private String proId;

    @ApiModelProperty(value = "项目名称")
    private String proName;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间(yyyy-MM-dd)")
    private LocalDate closingTime;

}

